package com.example.jdcompetition.Component;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

/**
 * @author henrydai
 * @date 2021/6/16 11:50
 */
@ConfigurationProperties(prefix = "csv")
@EnableConfigurationProperties(CsvPaths.class)
@Primary
@Component
public class CsvPaths {
    String filePath;
    String collectFile1;
    String collectFile2;
    String collectFile3;
    String transitFile1;
    String transitFile2;
    String transitFile3;
    String deliverFile1;
    String deliverFile2;
    String deliverFile3;
    String charsetName1;

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getCollectFile1() {
        return collectFile1;
    }

    public void setCollectFile1(String collectFile1) {
        this.collectFile1 = collectFile1;
    }

    public String getCollectFile2() {
        return collectFile2;
    }

    public void setCollectFile2(String collectFile2) {
        this.collectFile2 = collectFile2;
    }

    public String getCollectFile3() {
        return collectFile3;
    }

    public void setCollectFile3(String collectFile3) {
        this.collectFile3 = collectFile3;
    }

    public String getTransitFile1() {
        return transitFile1;
    }

    public void setTransitFile1(String transitFile1) {
        this.transitFile1 = transitFile1;
    }

    public String getTransitFile2() {
        return transitFile2;
    }

    public void setTransitFile2(String transitFile2) {
        this.transitFile2 = transitFile2;
    }

    public String getTransitFile3() {
        return transitFile3;
    }

    public void setTransitFile3(String transitFile3) {
        this.transitFile3 = transitFile3;
    }

    public String getDeliverFile1() {
        return deliverFile1;
    }

    public void setDeliverFile1(String deliverFile1) {
        this.deliverFile1 = deliverFile1;
    }

    public String getDeliverFile2() {
        return deliverFile2;
    }

    public void setDeliverFile2(String deliverFile2) {
        this.deliverFile2 = deliverFile2;
    }

    public String getDeliverFile3() {
        return deliverFile3;
    }

    public void setDeliverFile3(String deliverFile3) {
        this.deliverFile3 = deliverFile3;
    }

    public String getCharsetName1() {
        return charsetName1;
    }

    public void setCharsetName1(String charsetName1) {
        this.charsetName1 = charsetName1;
    }
}
